<template>
  <view class="content" v-if="data">
   <view class="title">{{data.title}}</view>
   <view>{{data.content}}</view>
   <view class="time">{{data.sendTime.substring(0,16)}}</view>
    <view style="height: 200rpx" />
  </view>
</template>

<script>

export default {
  components: {
  },
  data() {
    return {
        data:null
    };
  },
  onLoad(options) {
      this.data = uni.getStorageSync("messageDetail");
  },
  methods: {
    
  },
};
</script>
<style lang="scss" scoped>
.content {
  padding:40rpx;
  .title{
    font-weight:bold;
    margin-bottom:20rpx;
  }
  .time{
    color:$font-grey-color;
margin-top:20rpx;
  }
}
</style>
